package com.easy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("system")
public class SystemPageController {

//    @RequestMapping("upload")
//    public String upload(){
//        return "upload.html";
//    }

    @RequestMapping("category")
    public String upload(){
        return "system/category.html";
    }

    @RequestMapping("product")
    public String product(){
        return "system/product.html";
    }

    @RequestMapping("user")
    public String user(){
        return "system/user.html";
    }

    @RequestMapping("cart")
    public String cart(){
        return "system/cart.html";
    }

    @RequestMapping("collect")
    public String collect(){
        return "system/collect.html";
    }


    @RequestMapping("orderinfo")
    public String orderinfo(){
        return "system/orderinfo.html";
    }

    @RequestMapping("useraddress")
    public String useraddress(){
        return "system/useraddress.html";
    }

    @RequestMapping("productimg")
    public String productimg(){
        return "system/productimg.html";
    }

    @RequestMapping("login")
    public String login(){
        return "system/login.html";
    }

    @RequestMapping("index")
    public String index(){
        return "system/index.html";
    }

    @RequestMapping("admin")
    public String admin(){
        return "system/admin.html";
    }

    @RequestMapping("order")
    public String order(){
        return "system/order.html";
    }

    @RequestMapping("orderdetails")
    public String orderdetails(){
        return "system/orderdetails.html";
    }


}
